
EAPI=2

inherit cmake-utils

DESCRIPTION="Coldpig - simulation tool for nanoparticles"
HOMEPAGE="http://code.google.com/p/coldpig/"
SRC_URI="http://coldpig.googlecode.com/files/${P}.tar.gz"

LICENSE="GNU"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="sci-libs/gsl"
DEPEND="${RDEPEND}"


src_configure() {
  export ROOTSYS="/opt/cern/alice/root/5.26.00"
  export PATH="$ROOTSYS/bin:$PATH"
  export LD_LIBRARY_PATH="$ROOTSYS/lib:$LD_LIBRARY_PATH"
  cmake-utils_src_configure
}